package com.huawei.appmarket.service.store.awk.card;

import android.content.Context;
import android.view.View;
import android.widget.LinearLayout.LayoutParams;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import o.cgz;
import o.chc;
import o.epv;
import o.ewm.h;

public class HorizonSubstanceItemCard extends SubstanceListCard {
    public HorizonSubstanceItemCard(Context context) {
        super(context);
    }

    public static int ʼ() {
        return chc.ˈ();
    }

    public cgz ˏ(View view) {
        int ˎ = epv.ˎ(this.ʼॱ, ʼ(), chc.ˋ());
        view.setLayoutParams(new LayoutParams(ˎ, (int) (((float) ˎ) * epv.ʽ())));
        super.ˏ(view);
        return this;
    }

    public void ˏ(CardBean cardBean) {
        super.ˏ(cardBean);
    }

    public int ˊ() {
        return h.ᐝꓸ;
    }

    public int ˎ() {
        return h.ᐝꓸ;
    }
}
